package animalitem;
public class AnimalItem {
	private String number;
	private String variety;
	private double price;
	private double age;
	private int num;
	public AnimalItem() {		
	}
	public AnimalItem(String number, String variety, double age,int num,double price) {
		super();
		this.number = number;
		this.variety = variety;
		this.age = age;
		this.num=num;
		this.price =price ;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getVariety() {
		return variety;
	}
	public void setVariety(String variety) {
		this.variety = variety;
	}
	public double getPrice() {
		return price;
	}
	public void setAge(double age) {
		this.age = age;
	}
	public double getAge() {
		return age;
	}
	public void setNum(int num){
		this.num=num;
	}
	public int getNum(){
		return num;
	}
	public void setPrice(double price) {
		this.price = price;
	}

	public String toString() {
		return "Animal [number=" + number + ", varitty=" + variety + ",age="+age+", price="
				+ price + ", num=" + num+ "]";
	}
		
}
